/* 
 * File:   spamIndicatorEquation.h
 * Author: Cody TV Weber
 *
 * Created on March 19, 2014, 11:52 PM
 */

#ifndef SPAMINDICATOREQUATION_H
#define	SPAMINDICATOREQUATION_H

/*
 * double spamIndicatorEquation(double hamProbability, double spamProbability)-
 *              Takes the probabilities from the Entry containing the 
 *              probabilities of the word being occuring in a Spam emails and
 *              a ham emails and calculates an indication how high the
 *              probability is that the particular Entry would be indicated
 *              as a Spam.
 */
double spamIndicatorEquation(double hamProbability, double spamProbability);

/*
 * double addingProbabilityToAMean(     double newOccuranceProbability, 
 *                                      double previousProbability, 
 *                                      int previousMeanDenomenator) - 
 *              Takes a new probability and adds it to a previous mean.
 */
double addingProbabilityToAMean(double newOccuranceProbability, double previousMean, int previousMeanDenomenator);

#endif	/* SPAMINDICATOREQUATION_H */

